<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var flag = true;
        var flag1 = false;
        var a=undefined;
        var b;
        console.log(typeof(flag));
        console.log(typeof(a));
        console.log(b);
        
        
        // true 参与运算当1来看
        console.log(flag + 1);
    </script>
</head>
<body>
    
</body>
</html>